package cn.hx.entity;

import java.io.Serializable;
import java.util.Date;

/**
 * (Role)实体类
 *
 * @author makejava
 * @since 2022-08-19 19:30:23
 */
public class Role implements Serializable {
    private static final long serialVersionUID = 313619266368049309L;
    /**
     * 角色ID
     */
    private Integer id;
    /**
     * 角色名
     */
    private String name;
    /**
     * 角色的创建时间
     */
    private Date createTime;
    /**
     * 角色编码
     */
    private String code;

    @Override
    public String toString() {
        return "Role{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", createTime=" + createTime +
                ", code='" + code + '\'' +
                '}';
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

}